from datetime import date, timedelta

current_year = date.today().year

exam_dates = []
for month in range(1, 13):

    next_month = date(current_year, month % 12 + 1, 1) if month < 12 else date(current_year + 1, 1, 1)

    last_day = next_month - timedelta(days=1)

    weekday = last_day.weekday()

    second_last_saturday = last_day - timedelta(days=(weekday + 2) % 7 + 7)
    exam_dates.append(second_last_saturday)


print(f"{current_year}年每月培训考试时间：")
for exam_date in exam_dates:
    print(f"{exam_date.year}/{exam_date.month:02d}/{exam_date.day:02d} 08时")